<html>
<head>
  <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <meta name="generator" content="HTML Tidy for Windows (vers 14 February 2006), see www.w3.org">
    <title>Payments</title>
    <link rel="stylesheet" href="css/style.css" type="text/css">
</head>
<body>
<div id ="wrapper">
<%@ include file="/header.jsp" %>
	<div id="body">
		<div id="bleft">
		
		<h1>Payments</h1>
		<hr/>
		<div id="tablediv">

		<c:if test="${!empty payments}">
		
			<table class="table">
				<tr>
					<th>Training ID</th>
					<th>Training Topic</th>
					<th>Training Fee</th>
					<th>User ID</th>
					<th>Lastname</th>
					<th>Payment mode</th>
					<th>Payment Desc</th>
					<th>Transaction No.</th>
					<th>Status</th>
				
				</tr>
		
				<c:forEach items="${payments}" var="payment">
					<tr>
						<td><c:out value="${payment.trainingId}"/></td>
						<td><c:out value="${payment.topic}"/></td>
						<td><c:out value="${payment.training_fee}"/></td>
						<td><c:out value="${payment.userId}"/></td>
						<td><c:out value="${payment.lastName}"/></td>
						<td><c:out value="${payment.paymentType}"/></td>
						<td><c:out value="${payment.paymentDesc}"/></td>
						<td><c:out value="${payment.transactionNumber}"/></td>
						<td><c:out value="${payment.paymentStatus}"/></td>
					</tr>
				</c:forEach>
				
			</table>
		</c:if>
		</div> <!-- tablediv -->
		</div> <!-- bleft -->
		<%@include file="/sidemenu.jsp" %>
	</div> <!-- body -->
</div> <!-- body -->



</body>
</html>